package com.tarena.vehicle.management.service;

import com.tarena.vehicle.common.pojo.vo.PageData;
import com.tarena.vehicle.management.pojo.param.VehicleMaintenanceAddNewParam;
import com.tarena.vehicle.management.pojo.param.VehicleMaintenanceUpdateParam;
import com.tarena.vehicle.management.pojo.query.VehicleMaintenanceQuery;
import com.tarena.vehicle.management.pojo.vo.VehicleMaintenanceListItemVO;
import com.tarena.vehicle.management.pojo.vo.VehicleMaintenanceStandardVO;

public interface IVehicleMaintenanceService {
    void addNew(VehicleMaintenanceAddNewParam param);

    VehicleMaintenanceStandardVO getVehicleMaintenanceById(Integer id);

    void updateStatusDone(Integer id);

    void update(VehicleMaintenanceUpdateParam param);

    void deleteById(Integer id);

    PageData<VehicleMaintenanceListItemVO> getVehicleMaintenanceList(VehicleMaintenanceQuery query, Integer num, Integer size);
}
